<?php 
require '../home/config.php';
ob_clean();
$iCat = getValue('iCat','int','GET',0);
//Page
$iPage = getValue('page');
//Lấy cat_desc
$db_cat = new db_query('SELECT cat_id,cat_name,cat_description FROM categories_multi WHERE cat_id = '.$iCat);
$cat_desc = mysql_fetch_assoc($db_cat->result);unset($db_cat);
include_once '../includes/inc_cate_init.php';
?>
<?
if($isPjax){
    if(!$isPjaxAppend){
        include '../includes/inc_cate.php';    
    }else{
        include '../includes_pjax/inc_news_loadmore.php';
    }
    exit();
}
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="vi" lang="vi" xmlns:og="http://ogp.me/ns#" xmlns:fb="https://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Vcamp, Tin tức công nghệ, truyền thông, khởi nghiệp, <?=$cat_desc['cat_name']?>"/>
<meta name="description" content="Tin tức Vcamp về sản phẩm, công nghệ, truyền thông và khởi nghiệp, <?=$cat_desc['cat_name']?>" /> 
<meta name="AUTHOR" content="Vcamp.vn" />
<meta name="COPYRIGHT" content="Copyright (C) 2012 VCamp.VN" />
<meta name="ROBOTS" content="INDEX, FOLLOW" />
<meta name="RATING" content="GENERAL" />
<link rel="next" href="http://vcamp.vn<?=generate_cat_url($cat_desc)?>,p2" /><link rel="canonical" href="<?=generate_cat_url($cat_desc)?>" />
<?/*    Facebook content    */ ?>
<meta property="og:title" content="Trang tin công nghệ và truyền thông Vcamp" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://vcamp.vn<?=generate_cat_url($cat_desc)?>" />
<meta property="og:image" content="http://vcamp.vn/images/logo/logo-vcamp.png" />
<meta property="og:site_name" content="Vcamp" />
<meta property="og:description" content="Chuyên mục tin tức về <?=$cat_desc['cat_name']?> của Vcamp" />
<meta property="fb:admins" content="1798685119" />
<meta property="fb:app_id" content="468858366491710"/>
<title><?=$cat_desc['cat_name']?></title>
<?=$css_global?>
<?=$js_global?>
</head>
<body>
   <!--- Header -->
   <div id="header">
	  <? include '../includes/inc_header.php';?>
   </div>
   
   <!--- End header -->    
   <div id="wrapper">
      <?
         include_once('../includes/inc_cate.php');
      ?>
   </div>
   <!--End Wraper--> 
   <div id="footer">
      <?
         include_once('../includes/inc_footer.php');
      ?>
   </div>
</body>
</html>
